OTEnterInterrupt
Notifies Open Transport that you are about to call an Open Transport function from an interrupt.C INTERFACE
void OTEnterInterrupt(void)C++ INTERFACES
None. C++ applications use the C interface to this function.DESCRIPTION
TheOTEnterInterrupt
function informs Open Transport it is at primary interrupt time. This allows Open Transport to more intelligently schedule network activity. You must use this function when you are about to call one of the few Open Transport functions permitted at interrupt time.SPECIAL CONSIDERATIONS
On the 68000-family of Macintosh computers, you must be sure that your A5 world is set correctly before making this call (that is, having the same value it had when you called theInitOpenTransport
or theInitOpenTransportUtilities
function).You must call the
OTLeaveInterrupt
function before you leave interrupt time.SEE ALSO
Table 7-1 provides a list of functions that you can call at interrupt time (page 7-6).Before leaving the interrupt context, use the
OTLeaveInterrupt
function (page 7-20).For further discussion, see the section "Entering and Leaving Interrupt Processing," beginning on page 7-6.